aboutsummaryrefslogtreecommitdiff
path: root/src/app/manga/[title]/title.module.css
blob: 7ed09bdb331cad3b456b157d6c0e54ff00f3c2e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
.Main {
	max-width: 95%;
	margin: 60px auto;
}

.MangaContainer {
	display: flex;
	flex-direction: column;
}

.SearchedFor {
	color: white;
	text-align: center;
	font-size: 26px;
}

.MangaEntries {
	display: flex;
	flex-direction: row;
	margin: 0px 10px 10px 10px;
	padding: 10px;
	border-style: solid;
	border-radius: 0.5rem;
	border-color: #363636 #474747;
	border-width: 0.1rem;
	align-items: center;
	cursor: pointer;
	transition: opacity 200ms linear, transform 200ms linear;
}

/* THIS WORKS*/
.MangaContainer:hover .MangaEntries {
	opacity: 0.5;
}

.MangaContainer:hover .MangaEntries:hover {
	opacity: 1;
	transform: scale(1.01);
}

.MangaInfo {
	color: white;
	margin-left: 20px;
}

.MangaEntries img {
	border-radius: 0.5rem;
}

.MangaTitle {
	margin: 0px;
	font-size: 28px;
	color: var(--neon-green);
}

.MangaDescription {
	margin: 0.5rem 0 0.5rem 0;
}

.MangaStatus {
	color: var(--soft-purple);
	margin: 0px;
}

.MangaVolume {
	margin: 0px;
	color: #ffacac;
}

.MangaChapters {
	color: #ffebb4;
	margin: 0.3rem 0 0.3rem 0;
}

@media screen and (max-width: 768px) {
	.Main {
		max-width: 100%;
	}

	.MangaEntries {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
	}

	.MangaEntries img {
		width: auto;
		height: auto;
		border-radius: 0.3rem;
		background-color: #121212;
		padding: 0.2rem;
	}

	.MangaTitle {
		font-weight: 600;
	}

	.MangaDescription {
		max-height: 7.5rem;
		overflow: auto;
	}

}